package com.site.wisdom_construction.entity.trainingCheckModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-16 
 */
@ApiModel (value ="培训课程培训记录表",description = "TrainingCoursesRecords")
public class TrainingCoursesRecords {
	/**
	 * 培训课程培训记录表id
	 */
   	@ApiModelProperty(value = "培训课程培训记录表id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 培训课程id
	 */
   	@ApiModelProperty(value = "培训课程id", name = "trainingCoursesId")
	private Integer trainingCoursesId;

	/**
	 * 培训课程标题
	 */
	@ApiModelProperty(value = "培训课程标题", name = "trainingCoursesName")
	private String trainingCoursesName;

	/**
	 * 工人id
	 */
   	@ApiModelProperty(value = "工人id", name = "workerId")
	private Integer workerId;

	/**
	 * 工人姓名
	 */
	@ApiModelProperty(value = "工人姓名", name = "workerName")
	private String workerName;

	/**
	 * 积分
	 */
   	@ApiModelProperty(value = "积分", name = "integral")
	private Integer integral;

	/**
	 * 培训总结
	 */
   	@ApiModelProperty(value = "培训总结", name = "trainingSummary")
	private String trainingSummary;

	/**
	 * 培训时间
	 */
	@ApiModelProperty(value = "培训时间", name = "trainingTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date trainingTime;

	public TrainingCoursesRecords(){ super(); }

	public TrainingCoursesRecords(Integer id, Integer projectId, Integer trainingCoursesId, String trainingCoursesName, Integer workerId, String workerName, Integer integral, String trainingSummary, Date trainingTime) {
		this.id = id;
		this.projectId = projectId;
		this.trainingCoursesId = trainingCoursesId;
		this.trainingCoursesName = trainingCoursesName;
		this.workerId = workerId;
		this.workerName = workerName;
		this.integral = integral;
		this.trainingSummary = trainingSummary;
		this.trainingTime = trainingTime;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public Integer getTrainingCoursesId() {
		return trainingCoursesId;
	}

	public void setTrainingCoursesId(Integer trainingCoursesId) {
		this.trainingCoursesId = trainingCoursesId;
	}

	public String getTrainingCoursesName() {
		return trainingCoursesName;
	}

	public void setTrainingCoursesName(String trainingCoursesName) {
		this.trainingCoursesName = trainingCoursesName;
	}

	public Integer getWorkerId() {
		return workerId;
	}

	public void setWorkerId(Integer workerId) {
		this.workerId = workerId;
	}

	public String getWorkerName() {
		return workerName;
	}

	public void setWorkerName(String workerName) {
		this.workerName = workerName;
	}

	public Integer getIntegral() {
		return integral;
	}

	public void setIntegral(Integer integral) {
		this.integral = integral;
	}

	public String getTrainingSummary() {
		return trainingSummary;
	}

	public void setTrainingSummary(String trainingSummary) {
		this.trainingSummary = trainingSummary;
	}

	public Date getTrainingTime() {
		return trainingTime;
	}

	public void setTrainingTime(Date trainingTime) {
		this.trainingTime = trainingTime;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", trainingCoursesId=" + trainingCoursesId +
				", trainingCoursesName='" + trainingCoursesName + '\'' +
				", workerId=" + workerId +
				", workerName='" + workerName + '\'' +
				", integral=" + integral +
				", trainingSummary='" + trainingSummary + '\'' +
				", trainingTime=" + trainingTime +
				'}';
	}
}
